home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / Implementation / Memory / MemCnfig.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-13  |  1.1 KB  |  41 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        MemCnfig.h
  3.  
  4.     Contains:    Project prefix file for Memory subsystem
  5.  
  6.     Owned by:    Jens Alfke
  7.  
  8.     Copyright:    © 1994 - 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <2>     9/13/96    jpa        1371387: Speed optimizations.
  13.          <4>     1/24/95    TJ        Moved the define for MM_DEBUG to
  14.                                     MMDbgOpt.h.
  15.          <3>     1/12/95    jpa        Define OLDROUTINENAMES and
  16.                                     OLDROUTINELOCATIONS. [1211211]
  17.          <2>     9/29/94    RA        1189812: Mods for 68K build.
  18.          <1>     9/14/94    jpa        first checked in
  19.     To Do:
  20.     In Progress:
  21.         
  22. */
  23.  
  24.  
  25. #ifndef _MEMCNFIG_
  26. #define _MEMCNFIG_
  27.  
  28.  
  29. //        MM_DEBUG is now defined in MMDbgOpt.h for CW
  30. //#define MM_DEBUG            1                            // Set to 1 for debug build, else 0
  31.  
  32. #undef  MM_LITTLE_ENDIAN                                // Define for little-endian CPUs (e.g. x86)
  33. #undef  BUILD_WIN16                                        // Define for 16-bit MS Windows
  34.  
  35. #define MM_DEFER_COALESCE                                // Enable deferred-coalesce optimization
  36.  
  37. #define MM_DEBUG_COALESCE    (MM_DEBUG && 0)                /* Verbose debugging output from coalescing */
  38.  
  39. #define MM_INSTRUMENT        (MM_DEBUG && 0)                // Track sizes of block allocations
  40.  
  41. #endif /*_MEMCNFIG_*/